package com.spring.nio.core.event.listener.event.model;

import com.spring.nio.core.event.listener.event.constant.EventSourceTypeEnum;

public interface EventSource {

    /**
     * 返回当前事件源
     * @return
     * */
    EventSourceTypeEnum getEventSourceTypeEnum();

    /**
     * 返回当前事件源所属的事件
     * @return
     * */
    Class getEventClass();
}
